/*
 * Copyright (c) 2013 by Chances.
 * $CVSHeader$
 * $Author$
 * $Date$
 * $Revision$
 */
package chances.epg.search;

import org.apache.lucene.analysis.Analyzer;

import chances.epg.search.analyzer.SplitAnalyzer;


/**
 * Class comments.
 *
 * @author <a href="mailto:libf@chances.com.cn">libf</a>
 */
public class AnalyzerFactory {
    /**
     * 按指定字符进行分词的分词器.
     * @return
     */
    public static Analyzer getDefaultAnalyzer() {
        Analyzer analyzer = new SplitAnalyzer();
        return analyzer;
    }
}
